package org.example.hospital_frontend.mapper;

import org.example.hospital_frontend.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Mapper
* @createDate 2025-05-22 12:59:37
* @Entity org.example.hospital_frontend.domain.User
*/
public interface UserMapper extends BaseMapper<User> {
    // 添加按年龄区间统计的方法
    int selectCountByAgeRange(@Param("range") String range);
}




